Instead of relying on the apps button callback to do it for us.
https://bugzilla.gnome.org/show_bug.cgi?id=693974
show: function() {
this._activePage = this._workspacesPage;
+ this.reset();
this._appsPage.hide();
this._searchPage.hide();
this._workspacesDisplay.show();
},
_onShowAppsButtonToggled: function() {
- if (this._searchActive)
- this.reset();
- else
- this._showPage(this._showAppsButton.checked ? this._appsPage
- : this._workspacesPage);
+ this._showPage(this._showAppsButton.checked ? this._appsPage
+ : this._workspacesPage);
},
_resetShowAppsButton: function() {